package com.wlscale.roadsystem.base;

import android.view.View;

import com.easy.component.ibase.EasyBaseActivity;
import com.easy.component.ibase.EasyBaseFragment;
import com.wlscale.roadsystem.wiget.CalibrationListAlertDialog;

public abstract class LZBaseFragment extends EasyBaseFragment {

    /**
     * 显示alert 样式的弹出框
     *
     * @param title
     * @param leftText
     * @param leftOnClickListener
     */
    public void showSysCalAlert(CharSequence title, CharSequence leftText, View.OnClickListener leftOnClickListener) {
        if (null != getEasyBaseActivity()) {
            getEasyBaseActivity().showSysCalAlert(title,leftText,leftOnClickListener);
        }
    }

    public LZBaseActivity getEasyBaseActivity() {
        return (LZBaseActivity) getActivity();
    }
}
